﻿@{
    ViewBag.Title = @Resources.RegisterSuccessful;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1 style="text-align:center; font-size:xx-large;">@Resources.RegisterSuccessful. @Resources.RedirectPage <span id="second" style="color:red;">3 s</span></h1>
<script>
    //newImage = "url(/images/img/lock.png)";
    
    var x = 3;
     
    setTimeout(function () {
        location.href = "/Home/Index";
    }, 3000);
    setInterval(function () {
        x -= 1;
        document.getElementById("second").innerHTML = x + " s";
    }, 1000);
</script>
